Fix menu-set-font interaction with Custom themes.
authorChong Yidong <cyd@gnu.org>
Tue, 31 Jan 2012 08:38:58 +0000 (16:38 +0800)
committerChong Yidong <cyd@gnu.org>
Tue, 31 Jan 2012 08:38:58 +0000 (16:38 +0800)
commit27528399fd429b2f510e13f361affb1e2211ceb3
tree18a6ad4c28b518330911426de9feab5661c0384d
parentf1b63c22e201bc8469d59e6e299c3868fcd8afb6
Fix menu-set-font interaction with Custom themes.

In particular, prevent it from setting non-font-related attributes
like the foreground and background color.  This requires a bugfix to
face-spec-reset-face to make "resetting" the default face work.

* lisp/faces.el (face-spec-reset-face): Don't apply unspecified
attribute values to the default face.

* lisp/frame.el (set-frame-font): New arg ALL-FRAMES.

* lisp/menu-bar.el (menu-set-font): Use set-frame-font.
lisp/ChangeLog
lisp/faces.el
lisp/frame.el
lisp/menu-bar.el